home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000343_news@watsun.cc.columbia.edu _Wed Mar 10 10:06:36 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA19516
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 10 Mar 1999 10:06:36 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA07823
  7.     for kermit.misc@watsun.cc.columbia.edu; Wed, 10 Mar 1999 09:57:35 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Subject: Re: Problems with terminating failed sessions when uploading files
  11. Date: 10 Mar 1999 14:57:31 GMT
  12. Organization: Columbia University
  13. Message-ID: <7c618r$7kc$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@mailrelay2.cc.columbia.edu
  15.  
  16. In article <MPG.11508314e773428989681@news.pacific.net.sg>,
  17. Alvin Lee <alee@coldstorage.com.sg> wrote:
  18. : I'm hoping someone can enlight me with my problem.
  19. : Currently I'm running Kermit95 on two Windows NT Servers. 
  20. : One running k95d.exe with listen to port 3000 using hostmode.bat
  21. : and the other acts as an client to upload and download
  22. : files over two routers using ISDN connections.
  23. : I face problem when the current uploading session fail
  24. : due to comms error (ISDN line down) and the session on the
  25. : client can timeout and exit but on the server which running
  26. : k95d.exe session still keep hanging there. As the result, I was
  27. : not able to re-upload the file as the previous 'hang' session is 
  28. : still locking up the file.
  29. : The only way that I could resolve this is to terminate the session
  30. : on the server manually. I had tried to set all setting as follow:
  31. : set server idle-timeout
  32. : set server timeout
  33. : set receive timeout
  34. : set send timeout
  35. : on both client & server scripts.
  36. : but all this setting is effective on the client, not on the server.
  37. : Any and all help would be greatly appreciated!
  38. As Jeff replied to your identical kermit-support mail:
  39.  
  40. TCP/IP does not provide any good indicator of a broken connection.
  41. In most cases, if you have a TCP connection from A to B, and A is waiting
  42. for data from B, but B crashes or is powered off, A's TCP/IP stack
  43. will wait for a very long time before returning a timeout error on the
  44. read.  However, if it tries to write to a broken connection, it gets an
  45. error immediately.
  46.  
  47. Your version Kermit 95 implements a new Kermit protocol enhancement called
  48. "streaming", which is used when both ends know they have a reliable (e.g.
  49. TCP/IP) connection.  In this mode of operation, the file receiver does not
  50. send acknowledgements during the data transfer phase, and therefore never
  51. tries to write the connection.  Furthermore, knowing the nature of Internet
  52. connections, it doesn't bother to time out, since sometimes it might take
  53. an hour for a packet to arrive.
  54.  
  55. You can disable streaming with SET STREAMING OFF.  This restores the normal
  56. Kermit protocol with its own timeouts and ACKs and NAKs, which will have
  57. the desired effect in your case.  If the sender goes offline, the receiver
  58. will time out, send a NAK, and this will cause TCP/IP to report the connection
  59. has been lost.
  60.  
  61. - Frank